/*
 * Copyright (C) 2015 yixun All Rights Reserved.
 * 
 * PremisesDynamic.java
 */
package com.yixun.qfbao.xf.model;

import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang.StringUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * [文件名称]<br>
 * PremisesDynamic.java<br>
 * <br>
 * [文件描述]<br>
 * 楼盘动态 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2015-10-14 15:34:13 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class PremisesDynamic implements Serializable {
	/**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 流水号
	 */
	private Long id;
	
	/**
	 * 所属楼盘
	 */
	private Long premisesId;
	
	/**
	 * 创建时间
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	/**
	 * 更新时间
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 楼盘名称
	 */
	private String premisesName;
	
	/**
	 * 是否在楼盘详细页展示
	 */
	private Boolean canSee;
	
	/**
	 * 简介
	 */
	private String remark;
	
	/**
	 * 内容
	 */
	private String content;

	/**
	 * V10 UUID
	 */
	private String dynamicUuid;

	/**
	 * 是否绑定V10
	 */
	private String isBindingV10;
	/**
	 * 搜索是用
	 */
	private List<Long> premisesIds;
	
	private String canSeeName;
	
	//省份名称
	private String provName;
	//城市名称
	private String cityName;
	//地区名称
	private String areaName;
	//均价
	private String averagePrice;
	//驻守人员电话
	private String caseMemberPhone;
	
	
	/**
	 * 设置 :流水号
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 获取 :流水号
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * 设置 :所属楼盘
	 */
	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}
	
	/**
	 * 获取 :所属楼盘
	 */
	public Long getPremisesId() {
		return this.premisesId;
	}
	
	/**
	 * 设置 :创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	/**
	 * 获取 :创建时间
	 */
	public Date getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * 设置 :更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	/**
	 * 获取 :更新时间
	 */
	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	/**
	 * 设置 :标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * 获取 :标题
	 */
	public String getTitle() {
		return this.title;
	}
	
	/**
	 * 设置 :楼盘名称
	 */
	public void setPremisesName(String premisesName) {
		this.premisesName = premisesName;
	}
	
	/**
	 * 获取 :楼盘名称
	 */
	public String getPremisesName() {
		return this.premisesName;
	}
	
	/**
	 * 设置 :是否在楼盘详细页展示
	 */
	public void setCanSee(Boolean canSee) {
		this.canSee = canSee;
	}
	
	// /**
	// *获取 :是否在楼盘详细页展示
	// */
	// public Boolean isCanSee() {
	// return this.canSee;
	// }
	
	/**
	 * 获取 :是否在楼盘详细页展示
	 */
	public Boolean getCanSee() {
		return this.canSee;
	}
	
	/**
	 * 设置 :简介
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	/**
	 * 获取 :简介
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * 设置 :内容
	 */
	public void setContent(String content) {
		this.content = content;
	}
	
	/**
	 * 获取 :内容
	 */
	public String getContent() {
		return this.content;
	}
	
	public List<Long> getPremisesIds() {
		return premisesIds;
	}
	
	public void setPremisesIds(List<Long> premisesIds) {
		this.premisesIds = premisesIds;
	}
	
	public String getCanSeeName() {
		if (canSee)
			return "是";
		return "否";
	}
	
	public void setCanSeeName(String canSeeName) {
		this.canSeeName = canSeeName;
	}

	public String getDynamicUuid() {
		return dynamicUuid;
	}

	public void setDynamicUuid(String dynamicUuid) {
		this.dynamicUuid = dynamicUuid;
	}

	public String getProvName() {
		return provName;
	}

	public void setProvName(String provName) {
		this.provName = provName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAveragePrice() {
		return averagePrice;
	}

	public void setAveragePrice(String averagePrice) {
		this.averagePrice = averagePrice;
	}

	public String getCaseMemberPhone() {
		return caseMemberPhone;
	}

	public void setCaseMemberPhone(String caseMemberPhone) {
		this.caseMemberPhone = caseMemberPhone;
	}

	public String getIsBindingV10() {
		return isBindingV10;
	}

	public void setIsBindingV10(String isBindingV10) {
		this.isBindingV10 = isBindingV10;
	}
}
